* {
    box-sizing: border-box;
}

table {
    border: 0;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Open Sans', sans-serif;
}
tbody{
    align-content: center;
    text-align: center;
}
.table>tbody>tr>td{
    width: 33%;
    border: none;
}

.table>tbody>tr>td.titulo_dia{
    text-transform: uppercase;
}
.table.program-table {
    font-size: 2rem;
}
.logo{
    position: relative;
    left: 27%;
    width: 46%;
    height: auto;
    margin-bottom: 15%;
}
 body {
    overflow-x: hidden;
 }

#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: white;
    background-image: none;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-clip: border-box;
    background-origin: padding-box;
    /*background-position-x: center;
    background-position-y: center;*/
    background-position: 80%, center;
    background-size: auto auto;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


/* Toggle Styles */

#wrapper {
    height: 100vh;
    width: 100%;
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 250px;
}

#sidebar-wrapper {

    z-index: 1000;
    position: fixed;
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow-x: hidden;
    overflow-y: auto;
    background: white;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {

    padding: 0;
    width: 100%;
    height: 100%;



}


#rowepicicons {

    position: absolute;
    bottom: 5%;
    left: 5%;
    width: 70%;
}

#rowdata{
    position: relative;
    text-align: right;
    padding-top: 13px;
    text-shadow: 1px 1px 10px #000;
}

#rowdata a {
    color: #fff;
}

#rowdata h1{
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    color: white;
    padding: 0;
    margin: 0;
    font-size: 6rem;
}

#rowdata h3{
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    color: white;
    padding: 0;
    margin: 0;
    font-size: 14px;
    margin-right: 14px;
}

#rowdata h2 {
    /*background-color: red;*/
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    float: right;
    padding: 0.2em 0.3em;
}



@media screen and (max-width: 500px) {

    #rowepicicons{
         width: 100% !important;
    }

}

@media screen and (max-width: 1024px) {

    #rowepicicons{
         width: 80%;
    }

}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
}

/* Sidebar Styles */
#btnopen{
    position: absolute;
    z-index: 3;
    color: white;
    margin-left: 12px;
    margin-top: 8px;
    text-shadow: 1px 1px 5px #000;
}
.closebtn {
     position: absolute;
    top: 0;
    color: black;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    text-decoration: none;

}
.closebtn:hover {
    color: black;
    text-decoration: none;
}
a:focus, a:hover {
    color: black;
    text-decoration: none;
}

.sidebar-nav {
    overflow-y: hidden;
    overflow-x: hidden;
    width: 250px;
    margin: 0;
    padding: 0;
}


#submenuEvent a, #submenuMulti a, #submenuProvas a, #submenuInscri a, #submenuInfo a, #submenuTurismo a {
     font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: black;
    padding: 8px 0px;
}

.sidebar-nav li a {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: black;
    padding: 8px 0px;

    margin-bottom: -10px;
    text-decoration: none;


    display: block;
    transition: 0.3s;
    text-align: center;

}



.sidebar-nav li a:hover {
  color: #818181;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    margin-top: 5%;
    height: auto;

}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

#sponsors{
    margin-top: 10%;
    display: block !important;
}

#sponsorsrow{
    width: 80%;
    margin-left: 10%;
}

#sponsorsrow .row {
    margin-bottom: 2em;
}

#sponsorsrow .col-md-4{
    padding: 0 !important;
    margin-bottom: 15%;
}
.sponsorpic{
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 1em;
    width: 49%;
    text-align: center;
}

#rowfbicon{
    margin-top: 5%;
    padding: 0;

    text-align: center;
}

.langselec{
    width: 100%;
    text-align: center;
}

.sidebar-nav li.langselec a{
    width: 20px;
    display: inline-block;
    font-weight: 100;
    font-size: 14px;
}





@media(max-width: 400px){
    #wrapper.toggled #sidebar-wrapper{
        width: 100% !important;
        padding-left: 12%;
    }
    #titulo{
        font-size: 20px;
    }
    .container p {
        font-family: 'Open Sans', sans-serif;
        font-size: 13px !important;
        font-weight: 400;
        color: black;
    }
}


@media(min-width:768px) {
    #wrapper {
        padding-left: 250px;
    }
    #wrapper.toggled {
        padding-left: 0;
    }
    #sidebar-wrapper {
        width: 250px;
    }
    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }
    #page-content-wrapper {
        position: relative;
    }
    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}

/* MAIN CONTENT PROVAS PAGE*/

#logoprova {
    position: absolute;
    top: 25%;
    left: 40%;
}
#wrapper-header {
    position: relative;
}
#fundoprovas {
    width: 100%;
    height: auto;
}
.container{
    width: auto;
    background-color: #f3f3f3 ;
    padding-left: 5%;
    padding-right:5%;
    padding-bottom: 10%;
}
.container p {

    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: black;
    text-align: justify;
    line-height: 1.5;
}
.container h2{
    font-family: 'Open Sans', sans-serif;
    color: black;
    font-weight: bold;
    text-align: justify;
    font-size: 19px;
}
.container h4{
    font-family: 'Open Sans', sans-serif;
    color: black;
    font-weight: bold;
    text-align: justify;
    font-size: 23px;
    margin-bottom: 2%;
}
.container h3,
.fundogaleria h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    font-weight: bold;
    color: black;
    margin-top: 5%;
    margin-bottom: 3%;
}

.fundogaleria h3 {
    margin-top: 0;
    padding-top: 2em;
    padding-left: 1em;
}

.fundopaginascomuns, .fundogaleria, .fundofotos{
    background-color: #f3f3f3;
}
.fundopaginascomuns.sponsors .container {
    background-color: #fff;
}


/* GALERIA */

#galery-wrapper {
    position: relative;
}

#gallery-img {
    width: 100%;
    margin-bottom: -1%;
}

#provaname {
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin-bottom: -3%;
    text-transform: uppercase;
}
#provadate {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: white;
}
#gallery-details {
    width: auto;
    position: absolute;
    top: 35%;
    left: 5%;
    pointer-events: none;

}
@media screen and (max-width: 456px) {
   #provaname {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: white;

}
#provadate {
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: white;
}


}


.rowgal .col-md-3,
.rowgal .col-md-4 {
    padding: 0;
}

/*hover effects gallery */

.image {
    position:relative;

}
.overlay {

    display:none;
}
.image:hover .overlay {
    width:100%;
    height:100%;
    background:rgba(0,0,0,.5);

    position:absolute;
    top:0;
    left:0;
    display:inline-block;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    text-align:center;
    color:white;
    padding:12px;
    font-size:20px;
}

#detailsfoto {
    position: relative;
    top: 32%;
    left: 2%;

}
#nomeprova {
      font-family: 'Open Sans', sans-serif;
    font-size: 25px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;



}
#nrfoto {
    font-family: 'Open Sans', sans-serif;
    font-size: 25px;
    font-weight: 600;
    color: white;


}

@media screen and (min-width: 1900px){
     #nomeprova {
    margin-bottom: -2%;

    }

}
@media screen and (max-width: 500px) {

    #nomeprova {
      font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: -5%;

}
#nrfoto {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: white;

}

#tituloprova{
    font-size: 20px;
}

.ulicons-xs{
    display: block !important;

}

.ulicons-xs a{
    display: block;
    margin-bottom: 20px;
}

#rowepicicons{
    display: none;
}

}


#colvideo {

    height: 50%;

}

/*modal */



#epicimg-xs{
    width: 18%;
}


.ulicons-xs{
    list-style-type: none;
    position: absolute;
    bottom: 0%;
    left: 0%;
     display: none;
}

/*VIDEO*/

.gallery_product
{
   margin-bottom: 30px;
}








.iframe-container { position: relative; margin: 5px; height: 0; overflow: hidden; }

.iframe-container-for-wxh-500x350 {
padding: 25px 25px 70% 25px; /* padding-bottom = h/w as a % */
}

.iframe-container iframe {
    visibility: visible !important;

position: absolute;
top: 0;
left: 0;
margin: 0;
padding: 0;
width: 100%;
height: 100%!important;
border: none ;
/* put following styles (necessary for overflow and
scrolling handling) in div container around iframe
because not stable in CSS
-webkit-overflow-scrolling: touch;
overflow: auto; */
}
.fundovideos{
    background: black;
}


.rowgalhist{
    margin-bottom: 3%;


}

#lacatonilink{
     margin-top: 3%;
}
#lacatonilink a {


     font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #e30613;
    text-align: justify;
    line-height: 1.5;

}
#lacatonilink a:hover {

    text-decoration: underline;
}

#ulformulario{
    font-family: 'Open Sans', sans-serif;
font-size: 14px;
font-weight: 400;
color: black;
text-align: justify;
line-height: 1.5;
}

label {
  font-family: 'Open Sans', sans-serif;
font-size: 15px;
font-weight: 700;
color: black;
}

small{
    font-family: 'Open Sans', sans-serif;
}

.sucessbox{
    margin-top: 5%;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
}


.dropbtn {

    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */


#readmore{
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: black;
    text-underline: none;
}


.homelogos{
    position: absolute;
    width: 225px;
    margin-top:20px;
    margin-left:10px;
    z-index: 1;

    display: flex;
    flex-wrap: wrap;
}

.homelogos > div, .homelogos-xs > div {
    padding-bottom: 0.5em;
}

.homelogos .files-box > div,
.homelogos-xs .files-box > div {
    padding: 1em;
}

.homelogos .files-box img {
    width: 40%;
}

.homelogos img, .homelogos-xs img {
    width: 100%;
    filter: drop-shadow(0px 0px 2px rgba(0,0,0,1));
    -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
}

#UTMBlogo{
    width:100%;
}

.homelogos-xs{
    display: none;
    position: absolute;
    width: 200px;
    bottom: 0;
    right:0;
    margin-bottom:10px;
    z-index: 1;

    flex-wrap: wrap;
}

#rowlogosprovas{
	padding-left: 20px;
}

#rowlogosprovas img {
    width: 70px;
}
.logoprovaimg{
	width: 150px;
}
.greencorner {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #aac547;
    width: 350px;
}

.buttonbox {
    padding: 1em;
    color: white;
    text-transform: uppercase;
    text-align: center;
}

.buttonbox a {
    display: block;
    clear: both;
}

.buttonbox a img {
    margin-bottom: 10px;
    max-width: 100%;
}

#video-modal .modal-body {
    text-align: center;
}

.iconepontosprova{
    margin: 10px;
}


.trek_download{
    display: block;
    background: black;
    width: auto;
    float: left;
    padding: 10px;
    color: white;
    text-decoration: none;
    margin-right: 1rem;
}

.trek_download:hover{
	color: #CCC;
}

@media screen and (max-width: 500px) {
    .ulicons-xs a {
	    display: block;
	    margin-bottom: 8px;
    }
    #rowdata h3{
        font-family: 'Open Sans', sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        color: white;
        font-size: 10px;
        margin-right: 0 !important;
    }
    #rowdata h1 {
        font-size: 36px;
    }
    #rowdata h2 {
        font-size: 1.6rem;
        text-align: center;
    }
    .homelogos{
        display: none;
    }
    .homelogos-xs{
        display: flex !important;
    }
    .greencorner{
        display: none !important;
    }
}

@media screen and (max-width: 1024px) {
    .greencorner{
        display: none !important;
    }
}

.background-video-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    transition: opacity 0.5s;
    overflow: hidden;
    z-index: 2;
}

.background-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.background-video-close {
    position: absolute;
    bottom: 65px;
    right: 0;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.5);
    border-width: 1px 0 1px 1px;
}

#background-video-toggle-audio {
    position: absolute;
    bottom: 10px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    width: 30px;
    text-align: left;
}


/* Changes to show the video as homepage background */
.homelogos, #rowepicicons, .greencorner {
    display: none;
}
#rowdata {
    z-index: 2;
}

/* Partnerships page */

.partnerships-content {
    display: flex;
    align-items: center;
}
.partnerships-content img {
    margin-right: 3rem;
}

.epic-x-logos {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 2rem;
}

.epic-x-logos img {
    width: 90px;
    margin-bottom: 1.5rem;
}

@media (min-width: 1900px) {
    .epic-x-logos img {
        width: 140px;
    }
}